package com.jdz.vo;

import java.util.List;

/**
 * Created by sun
 **/
public class PageVo<T> {
    private int allpage;//总页数
    private int allrecord;//总条数
    private T data;

    public PageVo(){super();}
    public PageVo(int allpage,int allrecord,T data){
        this.allpage=allpage;
        this.allrecord=allrecord;
        this.data=data;
    }

    public int getAllpage() {
        return allpage;
    }

    public void setAllpage(int allpage) {
        this.allpage = allpage;
    }

    public int getAllrecord() {
        return allrecord;
    }

    public void setAllrecord(int allrecord) {
        this.allrecord = allrecord;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
